<template>
  <RouterLink to="/home">首页</RouterLink>
  <RouterLink to="/about">关于</RouterLink>

  <h1>
    {{ store.count }}
  </h1>
  <el-button @click="store.increment" type="primary">+1</el-button>
  <RouterView></RouterView>
</template>

<script setup lang="ts">
import { useCounterStore } from "./stores/counter"

const store = useCounterStore()
</script>
